<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>发现</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="move_find.css"/>
		<link rel="stylesheet" type="text/css" href="reset.css"/>
	</head>
	<body>
		<!-- 头部 S -->
		<header class="clearfix">
			<div class="class_back fl">
				<a href="move_index.html">
					<div>
						<p>Back</p>
					</div>
				</a>
			</div>
			<div class="selectBar fr">
				<select name="">
					<option value="">广州市</option>
					<option value="">佛山市</option>
					<option value="">深圳市</option>
				</select>
			</div>
			<div class="class_work ">
				<p >发现</p>
			</div>
			<div class="searchBar ">
				<input type="search" placeholder="请输入商品名称"/>
				<input type="image" src="image/fangdajing.png" />
			</div>
		</header>
		<!-- 主体 S-->
		<section>
			<div class="nav">
			    <div><p>大家都在搜</p></div>
			    <div>
			    	<ul class="clearfix">
				    	<li class="fl">寿司</li>
				    	<li class="fl">羽毛球</li>
				    	<li class="fl">火锅</li>
				    	<li class="fl">游泳馆</li>
			    	</ul>
			    	<ul class="clearfix">
			    		<li class="fl">电影</li>
			    		<li class="fl">周黑鸭</li>
			    		<li class="fl">KTV</li>
			    		<li class="fl">肯德基</li>
			   		 </ul>
			    </div>
		    </div>
			<div>
		 		<div class="context1 clearfix">
		 			<div class="fl"><img src="image/discover/fire.png"/></div>
		 			<div class="fl"><p>热门搜索</p></div>
		 			<div class="fr"><a href="move_detail.html">更多<img src="image/icon2.png" align="center"/></a></div>
		 		</div>
		 		<div class="context2 clearfix">
		 				<div class="fl">
		 						<img src="image/category/foods2.jpg"/>
		 				</div>
		 				<div class="fl">
			 		    	 <div class="food7">
			 		    	 	<img src="image/discover/food7.jpg"/>
			 		    	 </div>
			 		    	 <div class="clearfix food8">
				 		    	 <div class="fl"><img src="image/discover/food8.jpg"/></div>
				 		         <div class="fl"><img src="image/discover/food9.jpg"/></div>
		 			         </div>
			 		   </div>
		 		</div>
			 	<div class="context1_1 clearfix">
			 		<div class="fl"><img src="image/discover/star.png"/></div>
			 		<div class="fl"><p>推荐搜索</p></div>
			 		<div class="fr"><p>更多<img src="image/icon2.png" align="center"/></p></div>
			 	</div>
			 	<div class="context3 clearfix">
			 		<div class="clearfix">
			 			<div class="fl"><img src="image/discover/zhouheiya.jpg"/></div>
			 		     <div class="fl"><img src="image/discover/badminton.jpg"/></div>
			 		     <div class="fl"><img src="image/discover/pofeng.jpg"/></div>
			 		</div>
			 	</div>
			</div>
		</section>
		<!-- 主体  -->
		
		<!-- 底部 -->
		<footer class="clearfix">
			
				
			<div class="fl">
				<a href="move_index.html">
				<div><img src="image/首页.png"/></div>
				<p>首页</p>
				</a>
			</div>
			<div class="fl">
				<a href="move_class.html">
				<div><img src="image/class.png"/></div>
				<p>分类</p>
				</a>
			</div>
			<div class="fl">
				<a href="move_find.html">
				<div><img src="image/发现.jpg"/></div>
				<p>发现</p>
				</a>
			</div>
			<div class="fr">
			    <a href="move_my.html">
				<div><img src="image/person.png"/></div>
				<p>我的</p>
				</a>
			</div>
		
		
		</footer>
		<!-- 脚本 -->
		<script>
    
        
    	document.body.style.height = window.innerHeight + "px";
    
	    /*动态改变根元素字体大小*/
	    function recalc() {
	    	// 获取客户端宽度
	        var clientWidth = document.documentElement.clientWidth;
	        if(!clientWidth) return;
	        // 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
	        document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
	        
	    }
	
	    function initRecalc() {
	        recalc();
	        // if(浏览器支持横竖屏切换的事件){横竖屏事件}else{ resize事件 }
	        var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
	        if(!document.addEventListener) return;
	        window.addEventListener(resizeEvt, recalc, false);
	        document.addEventListener('DOMContentLoaded', recalc, false);
	    }
	    initRecalc();
            
            
            
        </script>
	
	</body>
</html>
